package com.ten.jinxiancun.server.impl;

import com.ten.jinxiancun.mapper.PurchaseorderDetailsMapper;
import com.ten.jinxiancun.server.PurchaseorderDetailsServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
//采购订单明细
@Service
public class PurchaseorderDetailsServerImpl implements PurchaseorderDetailsServer {
    @Autowired
    PurchaseorderDetailsMapper purchaseorderDetailsMapper;
    @Override
    public List<Map<String, Object>> getAllPurDeta(Map<String, Object> map) {
        return purchaseorderDetailsMapper.getAllPurDeta(map);
    }

    @Override
    public Integer countFind(Map<String, Object> map) {
        return purchaseorderDetailsMapper.count(map);
    }
}
